package com.flycent.fanbao.net.response;

import java.io.Serializable;

public class BaseStatusResponse implements Serializable {
	private static final long serialVersionUID = 2367308537649906933L;
	
	public int state;
	public String msg;
	
	public boolean isSuccess() {
		return state == 1;
	}

	@Override
	public String toString() {
		return "BaseStatusResponse [state=" + state + ", msg=" + msg + "]";
	}
	
}
